<template>
  <div style="width: 80%;">
    <p>页头测试</p>
    <p>页头测试</p>
    <p>页头测试</p>
    <p>页头测试</p>
    <p>页头测试</p>
    <p>页头测试</p>
    <p>页头测试</p>
    <p>页头测试</p>
    <p>页头测试</p>
    <PdfViewerNoScroll :maxViewPages="4" :src="src"/>
  </div>
</template>

<script>

import PdfViewerNoScroll from "/packages/vue3-pdf-viewer-noscroll";

export default {
  name: 'test-3',
  components: {
    PdfViewerNoScroll,
  },
  setup() {
    const src = { url: 'compressed.tracemonkey-pldi-09.pdf', disableAutoFetch: true }
    // const src = { url: 'test1.pdf', disableAutoFetch: true }
    return {
      src,
    }
  }
}
</script>
